.shop-page {
  font-family: 'Arial', sans-serif;
  max-width: 3600px;
  margin: 0 auto;
}

.shop-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
}

.shop-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
}

/* 左侧用户信息面板 */
.user-info-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.points-card {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.points-card h2 {
  margin-bottom: 16px;
  color: #333;
}

.points-amount {
  font-size: 48px;
  font-weight: bold;
  color: #1a2a3a;
  margin-bottom: 12px;
}

.points-tip {
  color: #666;
  font-size: 14px;
}

.exchange-history {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.exchange-history h3 {
  margin-bottom: 16px;
  color: #333;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 4px;
  font-size: 14px;
}

.history-type {
  color: #1a2a3a;
  font-weight: 500;
}

.history-amount {
  color: #e53e3e;
}

.history-time {
  color: #666;
  font-size: 12px;
}

.no-history {
  text-align: center;
  color: #666;
  padding: 24px;
}

/* 右侧商品列表 */
.shop-items {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.shop-items h2 {
  margin-bottom: 24px;
  color: #333;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.shop-item {
  max-height: 380px;
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  transition: transform 0.2s;
}

.shop-item:hover {
  transform: translateY(-4px);
}

.item-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.shop-item h3 {
  margin-bottom: 8px;
  color: #333;
}

.item-desc {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

.item-price {
  font-size: 24px;
  font-weight: bold;
  color: #1a2a3a;
  margin-bottom: 16px;
}

.exchange-button {
  width: 100%;
  padding: 12px;
  background-color: #1a2a3a;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.exchange-button:hover:not(:disabled) {
  background-color: #2c3e50;
}

.exchange-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .items-grid {
    grid-template-columns: 1fr;
  }
  
  .history-item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
